import org.springframework.context.ApplicationContextAware
import org.springframework.context.ApplicationContext

class ContextWrapper implements ApplicationContextAware {

    def context
  
    void setApplicationContext(ApplicationContext ctx) {
        context = ctx
    }

    def getProperty(String name)  {
        return context.getProperty(name)
    }
}
